package com.meilai.project.service.business.customer;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.meilai.project.vo.business.customer.BaseCustomerPoolVO;
import com.meilai.project.vo.business.customer.CheckPageCustomerVO;
import com.meilai.project.vo.business.customer.PublicSeaVO;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author xhy
 * @since 2022-09-09
 */
public interface CustomerPoolService {
    Page<BaseCustomerPoolVO> selectPage(Integer current_page, Integer page_size, String name, Long industry_id, Integer type);

    Page<CheckPageCustomerVO> selectCheckRecordPage(Integer current_page, Integer page_size, String name, Long industry_id, Long apply_user_id, Integer type, Integer status);

    Page<PublicSeaVO> selectPublicSeaPage(Integer current_page, Integer page_size, String name, Long industry_id, Integer type);

    Boolean distribute(Long customer_id, Long user_id);

    Boolean relieve(Long customer_id, Integer type);

    Boolean updateCanAssign(Long customer_id);

    Boolean checkCustomerMaintain(Long customer_id);
}
